* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

.nav {
    width: 100%;
    height: 60px;
    background-color: black;
    /* 设置背景透明度 */
    opacity: 20%;
    display: flex;
    /* 垂直居中 */
    align-items: center;
    /* 设置字体颜色 */
    color: white;
}

.nav a {
    color: white;
    text-decoration: none;
    margin: auto 10px;
}

.nav .space {
    width: 1070px;
    height: auto;
}

.nav img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 6px 8px auto 8px;
}

.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    height: calc(100% - 50px);
    width: 100%;
}

.container-left{
    width: 30%;
    height: 100%;
}
.container-right{
    width: 70%;
    height: 100%;
    overflow: auto;
    /* background-color: aqua; */
}
.card{
    width: 60%;
    height: 60%;
    background-color: rgb(255, 255, 255,0.5);
    margin-right:  20px;
    margin-left: 150px;
    margin-top: 10px;
    border-radius: 15px;
    text-align: center;
}

.card img{
    width: 150px;
    height: 15  0px;
    border-radius: 50%;
    margin-top: 20px;
}

.card a{
    color: grey;
    text-decoration: none;
}

.card .counter{
    width: 150px;
    display: flex;
    margin: 20px auto;
    justify-content: space-between;
}

.blog{
    width: 100%;
    border-radius: 15px;
    margin-top: 10px;
    background-color: rgb(255, 255, 255,0.5);
}
.blog .title{
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    padding-top: 10px;
}
.blog .content{
    /* 文本缩进 */
    text-indent: 2em;
    line-height: 20px;
}
.blog .date{
    color: aqua;
    font-size: 15px;
    line-height: 25px;
    text-align: center;
}

.blog .detail{
    display: block;
    color: black;
    text-align: center;
    width: 100px;
    height: 40px;
    border: 2px solid;
    margin: 10px auto 0 auto;
    line-height: 40px;
}

.blog .detail:active{
    color: orange;
}

